package com.tbsoft.ehr.service.overtime;

import java.math.BigDecimal;
import java.util.List;

import com.tbsoft.ehr.model.WorkOvertime;

public interface OvertimeService {

	public void addOvertime(WorkOvertime overtime);	
	
	public WorkOvertime queryOvertime(WorkOvertime overtime); 
	
	/**
	 * 查询计算用户的加班无付费时间
	 * @param staffId
	 * @return
	 */
	public BigDecimal getOvertimesByStaffId(String staffId);
	
	public List<WorkOvertime> getOvertimeByCondton(String staffName,String yearMonth,int startIndex,int count);
	
	public int getOvertimeCount(String staffName,String yearMonth);
	
	public WorkOvertime getOvertimeById(int id);
}
